package com.muyu.vehicle.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.vehicle.common.core.annotation.Excel;
import com.vehicle.common.core.web.domain.BaseEntity;

/**
 * 车辆数据大屏对象 t_vehicle_data_info
 *
 * @author muyu
 * @date 2021-09-04
 */
public class VehicleDataInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 总里程 */
    @Excel(name = "总里程")
    private BigDecimal sumMileage;

    /** 当月里程 */
    @Excel(name = "当月里程")
    private BigDecimal monthMileage;

    /** 本周里程 */
    @Excel(name = "本周里程")
    private BigDecimal weekMileage;

    /** 本日里程 */
    @Excel(name = "本日里程")
    private BigDecimal dayMileage;

    public void setSumMileage(BigDecimal sumMileage)
    {
        this.sumMileage = sumMileage;
    }

    public BigDecimal getSumMileage()
    {
        return sumMileage;
    }
    public void setMonthMileage(BigDecimal monthMileage)
    {
        this.monthMileage = monthMileage;
    }

    public BigDecimal getMonthMileage()
    {
        return monthMileage;
    }
    public void setWeekMileage(BigDecimal weekMileage)
    {
        this.weekMileage = weekMileage;
    }

    public BigDecimal getWeekMileage()
    {
        return weekMileage;
    }
    public void setDayMileage(BigDecimal dayMileage)
    {
        this.dayMileage = dayMileage;
    }

    public BigDecimal getDayMileage()
    {
        return dayMileage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sumMileage", getSumMileage())
            .append("monthMileage", getMonthMileage())
            .append("weekMileage", getWeekMileage())
            .append("dayMileage", getDayMileage())
            .toString();
    }
}
